package com.sg.service.biz.finance.impl;

import cn.hutool.core.bean.BeanUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.finance.req.*;
import com.sg.dto.biz.finance.res.*;
import com.sg.service.base.finance.MOmsAccountService;
import com.sg.service.biz.finance.BusinessAtomService;
import com.sg.service.biz.finance.FinanceService;
import com.wicket.okrcalc.integration.FwCalcEvaCalcClient;
import com.wicket.okrcalc.integration.TargetCalcService;
import com.wicket.okrcalc.integration.dto.*;
import com.wicket.okrcomponent.integration.FwCompEvaCalcClient;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.FwCompStandardDataClient;
import com.wicket.okrcomponent.integration.dto.*;
import com.sg.common.exception.Assert;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class TargetCalcServiceImpl
        implements com.wicket.okrfinance.biz.service.TargetCalcService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsAccountService mOmsAccountService;
    @Resource
    private NbTargetCalc nbTargetCalc;
    //@Resource
    //private undefinedService undefinedService;
    @Resource
    private FinanceService financeService;
    @Resource
    private FwCompStandardDataClient fwCompStandardDataClient;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private TargetCalcService fwCalcTargetCalcClient;
    @Resource
    private FwCompEvaCalcClient fwCompEvaCalcClient;
    @Resource
    private BusinessAtomService businessAtomService;
    @Resource
    private FwCalcEvaCalcClient fwCalcEvaCalcClient;
//@Resource
    //private BusinessAtomService businessAtomService;

    /**
     * D7分析目标内容财务数据(公共)[8610]
     * gen by moon at 6/12/2024, 1:06:29 AM
     */
    @Trace(operationName = "D7分析目标内容财务数据(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AnalysisTargetContFinanceDataComRespDto analysisTargetContFinanceDataCom(AnalysisTargetContFinanceDataComReqDto reqDto) {


        ImplementReceiveFieldInputRespDto receptionServiceRes_3 = null;
//virtualUsage 7-1-01-查目标内容预算账户ID  62753
        OmsAccount omsAccount = null;
        QueryFinanceAccountDetailComReq queryFinanceAccountDetailComReq = new QueryFinanceAccountDetailComReq();
        queryFinanceAccountDetailComReq.setIsBudgetAccount("TRUE");//sourceId:1588043_1_62753
        queryFinanceAccountDetailComReq.setAccountObjectClass("CONTENT_TYPE");//sourceId:1588044_1_62753
        queryFinanceAccountDetailComReq.setIsArchive("FALSE");//sourceId:1863850_1_62753
        if (reqDto != null) {
            queryFinanceAccountDetailComReq.setAccountObjectId(reqDto.getAccountObjectId());//SimpleFieldAssign//sourceId:1588045_1_62753
            queryFinanceAccountDetailComReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1588046_1_62753
            queryFinanceAccountDetailComReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1588048_1_62753
        }

        /*7-1-01-查目标内容预算账户ID[7677]   */
        Assert.isNull(queryFinanceAccountDetailComReq.getAccountObjectId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-关联归属主体ID不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq.getThemeContentId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-主题内容ID不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq.getIsBudgetAccount(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-是否预算账户不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq.getAccountObjectClass(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-账户关联主体分类类型不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq.getIsArchive(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-是否存档不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq.getSpaceId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容预算账户ID-创建于空间ID不能为空", false);
        omsAccount = mOmsAccountService.queryFinanceAccountDetailCom(queryFinanceAccountDetailComReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 7-1-01-查目标内容实体账户ID  62754
        OmsAccount omsAccount_2 = null;
        QueryFinanceAccountDetailComReq queryFinanceAccountDetailComReq_1 = new QueryFinanceAccountDetailComReq();
        queryFinanceAccountDetailComReq_1.setIsBudgetAccount("FALSE");//sourceId:1588050_1_62754
        queryFinanceAccountDetailComReq_1.setAccountObjectClass("CONTENT_TYPE");//sourceId:1588051_1_62754
        queryFinanceAccountDetailComReq_1.setIsArchive("FALSE");//sourceId:1863849_1_62754
        if (reqDto != null) {
            queryFinanceAccountDetailComReq_1.setAccountObjectId(reqDto.getAccountObjectId());//SimpleFieldAssign//sourceId:1588052_1_62754
            queryFinanceAccountDetailComReq_1.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1588053_1_62754
            queryFinanceAccountDetailComReq_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1588055_1_62754
        }

        /*7-1-01-查目标内容实体账户ID[7677]   */
        Assert.isNull(queryFinanceAccountDetailComReq_1.getAccountObjectId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-关联归属主体ID不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq_1.getThemeContentId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-主题内容ID不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq_1.getIsBudgetAccount(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-是否预算账户不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq_1.getAccountObjectClass(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-账户关联主体分类类型不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq_1.getIsArchive(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-是否存档不能为空", false);
        Assert.isNull(queryFinanceAccountDetailComReq_1.getSpaceId(), "D7分析目标内容财务数据(公共)-7-1-01-查目标内容实体账户ID-创建于空间ID不能为空", false);
        omsAccount_2 = mOmsAccountService.queryFinanceAccountDetailCom(queryFinanceAccountDetailComReq_1)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage M7约定是与否默认值  62756
        //ModelCode: receptionService
        ImplementReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementReceiveFieldInputReqDto receptionServiceReq = new ImplementReceiveFieldInputReqDto();
        receptionServiceReq.setCustomField1("TRUE");//CUSTOM_CONVENTION//sourceId:1588225_1_62756
        receptionServiceReq.setCustomField2("FALSE");//CUSTOM_CONVENTION//sourceId:1588226_1_62756

        /*M7约定是与否默认值[7656]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getCustomField1(), "D7分析目标内容财务数据(公共)-M7约定是与否默认值-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField2(), "D7分析目标内容财务数据(公共)-M7约定是与否默认值-自定义字段2不能为空", false);
        receptionServiceRes = nbTargetCalc.implementReceiveFieldInput(receptionServiceReq);


        if ((omsAccount != null || omsAccount_2 != null)) {
            //if((7-1-01-查目标内容预算账户ID.出参 值不等于空  or 7-1-01-查目标内容实体账户ID.出参 值不等于空 ))  62755

//ModelCode: receptionService
            ImplementReceiveFieldInputRespDto receptionServiceRes_2 = null;
            if (omsAccount != null || omsAccount_2 != null) {
                ImplementReceiveFieldInputReqDto receptionServiceReq_1 = new ImplementReceiveFieldInputReqDto();
                if (omsAccount != null) {
                    receptionServiceReq_1.setBudgetAccountId(omsAccount.getAccountId());//SimpleFieldAssign//sourceId:1588234_1_62757
                }
                if (omsAccount_2 != null) {
                    receptionServiceReq_1.setPhysicalAccountId(omsAccount_2.getAccountId());//SimpleFieldAssign//sourceId:1588235_1_62757
                }
                if (receptionServiceRes != null) {
                    receptionServiceReq_1.setIsHaveFinanceAccount(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1588233_1_62757
                }

                /*M7接收内容是否有财务账户出参[7656]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_1.getIsHaveFinanceAccount(), "D7分析目标内容财务数据(公共)-M7接收内容是否有财务账户出参-内容是否有财务账户不能为空", false);
                receptionServiceRes_2 = nbTargetCalc.implementReceiveFieldInput(receptionServiceReq_1);


                receptionServiceRes_3 = receptionServiceRes_2;
            }
        } else if ((omsAccount == null && omsAccount_2 == null)) {
            //elseif((7-1-01-查目标内容预算账户ID.出参 值等于空  and 7-1-01-查目标内容实体账户ID.出参 值等于空 ))  62758

//ModelCode: receptionService
            ImplementReceiveFieldInputRespDto receptionServiceRes_4 = null;
            ImplementReceiveFieldInputReqDto receptionServiceReq_2 = new ImplementReceiveFieldInputReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_2.setIsHaveFinanceAccount(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:1588233_1_62759
            }

            /*M7接收内容是否有财务账户出参[7656]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getIsHaveFinanceAccount(), "D7分析目标内容财务数据(公共)-M7接收内容是否有财务账户出参-内容是否有财务账户不能为空", false);
            receptionServiceRes_4 = nbTargetCalc.implementReceiveFieldInput(receptionServiceReq_2);


            receptionServiceRes_3 = receptionServiceRes_4;
        }
        AnalysisTargetContFinanceDataComRespDto retData = new AnalysisTargetContFinanceDataComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setIsHaveFinanceAccount(receptionServiceRes_3.getIsHaveFinanceAccount());//SimpleFieldAssign//sourceId:1588240_1
            retData.setBudgetAccountId(receptionServiceRes_3.getBudgetAccountId());//SimpleFieldAssign//sourceId:1588241_1
            retData.setPhysicalAccountId(receptionServiceRes_3.getPhysicalAccountId());//SimpleFieldAssign//sourceId:1588242_1
        }


        return retData;
    }

    /**
     * D7查询当前及祖先财务账户列表(公共)[9736]
     * gen by moon at 7/3/2024, 6:43:50 AM
     */
    @Trace(operationName = "D7查询当前及祖先财务账户列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCurAndAncestorFinaceListComRespDto queryCurAndAncestorFinaceListCom(QueryCurAndAncestorFinaceListComReqDto reqDto) {


        List<OmsAccount> listOmsAccount_1 = new ArrayList<>();
//步骤0: M7-执行接收字段入参（财务） - implementReceiveFieldInput
        //ModelCode: receptionService
        ImplementReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementReceiveFieldInputReqDto receptionServiceReq = new ImplementReceiveFieldInputReqDto();
        if (reqDto != null) {
            receptionServiceReq.setAccountContentCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1848983_1
            receptionServiceReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1915704_1
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1848984_1
        }

        /*M7接收入参字段[7656]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getAccountContentCode(), "D7查询当前及祖先财务账户列表(公共)-M7接收入参字段-关联归属主体标识不能为空", false);
        Assert.isNull(receptionServiceReq.getThemeContentId(), "D7查询当前及祖先财务账户列表(公共)-M7接收入参字段-主题内容ID不能为空", false);
        Assert.isNull(receptionServiceReq.getSpaceId(), "D7查询当前及祖先财务账户列表(公共)-M7接收入参字段-创建于空间ID不能为空", false);
        receptionServiceRes = nbTargetCalc.implementReceiveFieldInput(receptionServiceReq);


//步骤1: D4查询当前及祖先列表(公共) - queryCurAndAncestorListNewCom
        QueryCurAndAncestorListNewComRespDto queryCurAndAncestorListNewComRespDto = null;
        QueryCurAndAncestorListNewComReqDto queryCurAndAncestorListNewComReqDto = new QueryCurAndAncestorListNewComReqDto();
        if (reqDto != null) {
            queryCurAndAncestorListNewComReqDto.setComCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1852106_1
        }

        /*D4查询当前及祖先列表(公共)[9748]   */
        Assert.isNull(queryCurAndAncestorListNewComReqDto.getComCode(), "D7查询当前及祖先财务账户列表(公共)-D4查询当前及祖先列表(公共)-通用编码标识不能为空", false);
        queryCurAndAncestorListNewComRespDto = fwCalcTargetCalcClient.queryCurAndAncestorListNewCom(queryCurAndAncestorListNewComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤2: 7-1-01批量查询财务账户byCode - batchQueryFinanceAccount
        List<OmsAccount> listOmsAccount = new ArrayList<>();
        if (queryCurAndAncestorListNewComRespDto != null) {
            BatchQueryFinanceAccountReq batchQueryFinanceAccountReq = new BatchQueryFinanceAccountReq();
            batchQueryFinanceAccountReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1848791_1
            if (queryCurAndAncestorListNewComRespDto != null) {
                batchQueryFinanceAccountReq.setAccountContentCodeList(queryCurAndAncestorListNewComRespDto.getCurAndAncestorList());//list-field-assign//sourceId:1848790_1
            }
            if (reqDto != null) {
                batchQueryFinanceAccountReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1915703_1
                batchQueryFinanceAccountReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1848792_1
            }

            /*7-1-01批量查询财务账户byCode[7661]   */
            Assert.isNull(batchQueryFinanceAccountReq.getSubjectLifeCycle(), "D7查询当前及祖先财务账户列表(公共)-7-1-01批量查询财务账户byCode-主体生命周期不能为空", false);
            Assert.isNull(batchQueryFinanceAccountReq.getThemeContentId(), "D7查询当前及祖先财务账户列表(公共)-7-1-01批量查询财务账户byCode-主题内容ID不能为空", false);
            Assert.isNull(batchQueryFinanceAccountReq.getSpaceId(), "D7查询当前及祖先财务账户列表(公共)-7-1-01批量查询财务账户byCode-创建于空间ID不能为空", false);
            listOmsAccount = mOmsAccountService.batchQueryFinanceAccount(batchQueryFinanceAccountReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsAccount_1 = listOmsAccount;
        }

        QueryCurAndAncestorFinaceListComRespDto retData = new QueryCurAndAncestorFinaceListComRespDto();
        retData.setFinanceAccountList(listOmsAccount_1.stream().map(item -> BeanUtil.toBean(item, FinanceAccountDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1849006_1


        return retData;
    }

    /**
     * D7执行单张牌财务标准数据准备redis(公共)[9740]
     * gen by moon at 7/2/2024, 3:57:29 AM
     */
    @Trace(operationName = "D7执行单张牌财务标准数据准备redis(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementSingleFinaceStandardDataRedisComRespDto implementSingleFinaceStandardDataRedisCom(ImplementSingleFinaceStandardDataRedisComReqDto reqDto) {


        //virtualUsage D4准备目标归属周期数据(同体取小)(跨)  71204
        QueryPrepareTargetBelongCycleDataDetailComRespDto queryPrepareTargetBelongCycleDataDetailComRespDto = null;
        QueryPrepareTargetBelongCycleDataDetailComReqDto queryPrepareTargetBelongCycleDataDetailComReqDto = new QueryPrepareTargetBelongCycleDataDetailComReqDto();
        queryPrepareTargetBelongCycleDataDetailComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:1915255_1_71204
        if (reqDto != null) {
            queryPrepareTargetBelongCycleDataDetailComReqDto.setPeriodicModeTypeCode(reqDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:1915253_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setEvaObjEntityId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1915254_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:1915256_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setEntityId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1915257_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1915258_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1915259_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1915260_1_71204
            queryPrepareTargetBelongCycleDataDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1915261_1_71204
        }

        /*D4准备目标归属周期数据(同体取小)(跨)[9914]   */
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getPeriodicModeTypeCode(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-周期模式类型编码不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getEvaObjEntityId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getEvaObjTypeCode(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-主树被评对象类型编码不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getBelongToContentId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-数据归属内容表主键ID不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getEntityId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-归属内容表主键ID不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getCycleId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-归属周期ID不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getCycleTypeCode(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-周期类型标识不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getEvaluationTemplateId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryPrepareTargetBelongCycleDataDetailComReqDto.getSpaceId(), "D7执行单张牌财务标准数据准备redis(公共)-D4准备目标归属周期数据(同体取小)(跨)-创建于空间ID不能为空", false);
        queryPrepareTargetBelongCycleDataDetailComRespDto = fwCalcTargetCalcClient.queryPrepareTargetBelongCycleDataDetailCom(queryPrepareTargetBelongCycleDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D7执行单张牌资金账户更新(公共)  69625
        ImplementSingleCardFundAccountPromotionRedisComRespDto implementSingleCardFundAccountPromotionRedisComRespDto = null;
        ImplementSingleCardFundAccountPromotionRedisComReqDto implementSingleCardFundAccountPromotionRedisComReqDto = new ImplementSingleCardFundAccountPromotionRedisComReqDto();
        if (reqDto != null) {
            implementSingleCardFundAccountPromotionRedisComReqDto.setAccountId(reqDto.getAccountId());//SimpleFieldAssign//sourceId:1850297_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setTotalBudgetAmount(reqDto.getTotalBudgetAmount());//SimpleFieldAssign//sourceId:1850298_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setIsBudgetAccount(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850299_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setIsStatisticalAccount(reqDto.getIsStatisticalAccount());//SimpleFieldAssign//sourceId:1850300_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setIsIncomingAccount(reqDto.getIsIncomingAccount());//SimpleFieldAssign//sourceId:1850301_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setIsOpenFundsArrival(reqDto.getIsOpenFundsArrival());//SimpleFieldAssign//sourceId:1850304_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setAccountContentCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1850302_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1850303_1_69625
            implementSingleCardFundAccountPromotionRedisComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1850305_1_69625
        }

        /*D7执行单张牌资金账户更新(公共)[8553]   */
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getAccountId(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-账户ID不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getTotalBudgetAmount(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-累计收入金额不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getIsBudgetAccount(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-是否预算账户不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getIsStatisticalAccount(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-是否统计账户不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getIsOpenFundsArrival(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-是否开启资金到账不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getAccountContentCode(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-关联归属主体标识不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getThemeContentId(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-主题内容ID不能为空", false);
        Assert.isNull(implementSingleCardFundAccountPromotionRedisComReqDto.getSpaceId(), "D7执行单张牌财务标准数据准备redis(公共)-D7执行单张牌资金账户更新(公共)-创建于空间ID不能为空", false);
        implementSingleCardFundAccountPromotionRedisComRespDto = financeService.implementSingleCardFundAccountPromotionRedisCom(implementSingleCardFundAccountPromotionRedisComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage D7分析预算资金使用率(公共)  69626
        AnalysisBudgetFundUsageRateComRespDto analysisBudgetFundUsageRateComRespDto = null;
        if (implementSingleCardFundAccountPromotionRedisComRespDto != null) {
            AnalysisBudgetFundUsageRateComReqDto analysisBudgetFundUsageRateComReqDto = new AnalysisBudgetFundUsageRateComReqDto();
            if (reqDto != null) {
                analysisBudgetFundUsageRateComReqDto.setIsBudgetAccount(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850311_1_69626
            }
            if (implementSingleCardFundAccountPromotionRedisComRespDto != null) {
                analysisBudgetFundUsageRateComReqDto.setTotalBudgetAmount(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount());//SimpleFieldAssign//sourceId:1850312_1_69626
                analysisBudgetFundUsageRateComReqDto.setAccruedSettledAmount(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount());//SimpleFieldAssign//sourceId:1850313_1_69626
            }

            /*D7分析预算资金使用率(公共)[8938]   */
            Assert.isNull(analysisBudgetFundUsageRateComReqDto.getIsBudgetAccount(), "D7执行单张牌财务标准数据准备redis(公共)-D7分析预算资金使用率(公共)-是否预算账户不能为空", false);
            Assert.isNull(analysisBudgetFundUsageRateComReqDto.getTotalBudgetAmount(), "D7执行单张牌财务标准数据准备redis(公共)-D7分析预算资金使用率(公共)-累计收入金额不能为空", false);
            Assert.isNull(analysisBudgetFundUsageRateComReqDto.getAccruedSettledAmount(), "D7执行单张牌财务标准数据准备redis(公共)-D7分析预算资金使用率(公共)-累计支出金额不能为空", false);
            analysisBudgetFundUsageRateComRespDto = financeService.analysisBudgetFundUsageRateCom(analysisBudgetFundUsageRateComReqDto)/*vcase invoke isSameApp*/;


        }
        if ((queryPrepareTargetBelongCycleDataDetailComRespDto != null && queryPrepareTargetBelongCycleDataDetailComRespDto.getSubCycleCalcModelId() != null)) {
            //if(D4准备目标归属周期数据(同体取小)(跨).子周期计算模型ID 值不等于空 )  69627

            QueryTargetBelongCycleDetailNewComRespDto queryTargetBelongCycleDetailNewComRespDto = null;
            if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                QueryTargetBelongCycleDetailNewComReqDto queryTargetBelongCycleDetailNewComReqDto = new QueryTargetBelongCycleDetailNewComReqDto();
                if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto.setTargetAttributionCycleId(queryPrepareTargetBelongCycleDataDetailComRespDto.getSubCycleCalcModelId());//SimpleFieldAssign//sourceId:1915040_1_71200
                }
                if (reqDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1853014_1_71200
                }

                /*D4查询目标归属周期详情(跨)[9747]   */
                Assert.isNull(queryTargetBelongCycleDetailNewComReqDto.getEvaluationTemplateId(), "D7执行单张牌财务标准数据准备redis(公共)-D4查询目标归属周期详情(跨)-冗余评价模板ID不能为空", false);
                queryTargetBelongCycleDetailNewComRespDto = fwCalcTargetCalcClient.queryTargetBelongCycleDetailNewCom(queryTargetBelongCycleDetailNewComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            AddPersonPreFinStandardDataSnapshotComRespDto addPersonPreFinStandardDataSnapshotComRespDto = null;
            if (queryTargetBelongCycleDetailNewComRespDto != null && implementSingleCardFundAccountPromotionRedisComRespDto != null && analysisBudgetFundUsageRateComRespDto != null) {
                AddPersonPreFinStandardDataSnapshotComReqDto addPersonPreFinStandardDataSnapshotComReqDto = new AddPersonPreFinStandardDataSnapshotComReqDto();
                addPersonPreFinStandardDataSnapshotComReqDto.setBusinessDataObject("ACCT_STD_DATA_AMT_SNAP");//sourceId:1850348_1_69630
                if (reqDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1850349_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue26(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1850374_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue16(reqDto.getAccountId());//SimpleFieldAssign//sourceId:1850364_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue1(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850350_1_69630
                }
                if (queryTargetBelongCycleDetailNewComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue23(queryTargetBelongCycleDetailNewComRespDto.getPreviousCycleId());//SimpleFieldAssign//sourceId:1850371_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue24(queryTargetBelongCycleDetailNewComRespDto.getLastEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1850372_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue3(queryTargetBelongCycleDetailNewComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1850352_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue4(queryTargetBelongCycleDetailNewComRespDto.getCycleStartTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto.getCycleStartTime()) : "");//SimpleFieldAssign//sourceId:1850353_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue5(queryTargetBelongCycleDetailNewComRespDto.getCycleEndTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto.getCycleEndTime()) : "");//SimpleFieldAssign//sourceId:1850354_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue6(queryTargetBelongCycleDetailNewComRespDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1850355_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue7(queryTargetBelongCycleDetailNewComRespDto.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:1850356_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue31(queryTargetBelongCycleDetailNewComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1850379_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue9(queryTargetBelongCycleDetailNewComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1850357_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue30(queryTargetBelongCycleDetailNewComRespDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1850378_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue2(queryTargetBelongCycleDetailNewComRespDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1850351_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue10(queryTargetBelongCycleDetailNewComRespDto.getBelongToContentId());//SimpleFieldAssign//sourceId:1850358_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue11(queryTargetBelongCycleDetailNewComRespDto.getOneLevelCategoryId());//SimpleFieldAssign//sourceId:1850359_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue12(queryTargetBelongCycleDetailNewComRespDto.getPersonLiableObjId());//SimpleFieldAssign//sourceId:1850360_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue13(queryTargetBelongCycleDetailNewComRespDto.getBizRoleObjId());//SimpleFieldAssign//sourceId:1850361_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue14(queryTargetBelongCycleDetailNewComRespDto.getBizRoleObjCode());//SimpleFieldAssign//sourceId:1850362_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue15(queryTargetBelongCycleDetailNewComRespDto.getBizRoleObjName());//SimpleFieldAssign//sourceId:1850363_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue25(queryTargetBelongCycleDetailNewComRespDto.getBelongToPersonalIdentityId());//SimpleFieldAssign//sourceId:1850373_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue28(queryTargetBelongCycleDetailNewComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1850376_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue29(queryTargetBelongCycleDetailNewComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1850377_1_69630
                }
                if (implementSingleCardFundAccountPromotionRedisComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue17(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount()) : "");//SimpleFieldAssign//sourceId:1850365_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue18(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance()) : "");//SimpleFieldAssign//sourceId:1850366_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue19(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850367_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue20(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850368_1_69630
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue21(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount()) : "");//SimpleFieldAssign//sourceId:1850369_1_69630
                }
                if (analysisBudgetFundUsageRateComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue22(analysisBudgetFundUsageRateComRespDto.getFundUsageRate() != null ? String.valueOf(analysisBudgetFundUsageRateComRespDto.getFundUsageRate()) : "");//SimpleFieldAssign//sourceId:1850370_1_69630
                }

                /*D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)[8439]   */
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getBusinessDataObject(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-业务数据对象不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getDataObjectBatchCode(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据对象批次标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue3(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue4(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期开始时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue5(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期结束时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue6(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期类型标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue31(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-父子中过程周期类型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue9(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue30(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-本目标归属周期的计算周期五模型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue2(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue10(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue12(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue13(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue14(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue15(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象名称不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue25(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue16(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属账户ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue17(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-总金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue18(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-账户余额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue19(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-可用金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue20(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-冻结金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue21(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-累计结算金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue1(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-是否预算账户不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue28(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue29(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象内容表主键ID不能为空", false);
                addPersonPreFinStandardDataSnapshotComRespDto = fwCompStandardDataClient.addPersonPreFinStandardDataSnapshotCom(addPersonPreFinStandardDataSnapshotComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        if ((queryPrepareTargetBelongCycleDataDetailComRespDto != null && queryPrepareTargetBelongCycleDataDetailComRespDto.getMidCycleCalcModelId() != null)) {
            //if(D4准备目标归属周期数据(同体取小)(跨).中期计算模型ID 值不等于空 )  69628

            QueryTargetBelongCycleDetailNewComRespDto queryTargetBelongCycleDetailNewComRespDto_2 = null;
            if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                QueryTargetBelongCycleDetailNewComReqDto queryTargetBelongCycleDetailNewComReqDto_1 = new QueryTargetBelongCycleDetailNewComReqDto();
                if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto_1.setTargetAttributionCycleId(queryPrepareTargetBelongCycleDataDetailComRespDto.getMidCycleCalcModelId());//SimpleFieldAssign//sourceId:1915040_1_71201
                }
                if (reqDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1853014_1_71201
                }

                /*D4查询目标归属周期详情(跨)[9747]   */
                Assert.isNull(queryTargetBelongCycleDetailNewComReqDto_1.getEvaluationTemplateId(), "D7执行单张牌财务标准数据准备redis(公共)-D4查询目标归属周期详情(跨)-冗余评价模板ID不能为空", false);
                queryTargetBelongCycleDetailNewComRespDto_2 = fwCalcTargetCalcClient.queryTargetBelongCycleDetailNewCom(queryTargetBelongCycleDetailNewComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            AddPersonPreFinStandardDataSnapshotComRespDto addPersonPreFinStandardDataSnapshotComRespDto_1 = null;
            if (queryTargetBelongCycleDetailNewComRespDto_2 != null && implementSingleCardFundAccountPromotionRedisComRespDto != null && analysisBudgetFundUsageRateComRespDto != null) {
                AddPersonPreFinStandardDataSnapshotComReqDto addPersonPreFinStandardDataSnapshotComReqDto_1 = new AddPersonPreFinStandardDataSnapshotComReqDto();
                addPersonPreFinStandardDataSnapshotComReqDto_1.setBusinessDataObject("ACCT_STD_DATA_AMT_SNAP");//sourceId:1850348_1_69631
                if (reqDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1850349_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue26(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1850374_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue16(reqDto.getAccountId());//SimpleFieldAssign//sourceId:1850364_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue1(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850350_1_69631
                }
                if (queryTargetBelongCycleDetailNewComRespDto_2 != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue23(queryTargetBelongCycleDetailNewComRespDto_2.getPreviousCycleId());//SimpleFieldAssign//sourceId:1850371_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue24(queryTargetBelongCycleDetailNewComRespDto_2.getLastEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1850372_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue3(queryTargetBelongCycleDetailNewComRespDto_2.getCycleId());//SimpleFieldAssign//sourceId:1850352_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue4(queryTargetBelongCycleDetailNewComRespDto_2.getCycleStartTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto_2.getCycleStartTime()) : "");//SimpleFieldAssign//sourceId:1850353_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue5(queryTargetBelongCycleDetailNewComRespDto_2.getCycleEndTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto_2.getCycleEndTime()) : "");//SimpleFieldAssign//sourceId:1850354_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue6(queryTargetBelongCycleDetailNewComRespDto_2.getCycleTypeCode());//SimpleFieldAssign//sourceId:1850355_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue7(queryTargetBelongCycleDetailNewComRespDto_2.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:1850356_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue31(queryTargetBelongCycleDetailNewComRespDto_2.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1850379_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue9(queryTargetBelongCycleDetailNewComRespDto_2.getEntityId());//SimpleFieldAssign//sourceId:1850357_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue30(queryTargetBelongCycleDetailNewComRespDto_2.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1850378_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue2(queryTargetBelongCycleDetailNewComRespDto_2.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1850351_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue10(queryTargetBelongCycleDetailNewComRespDto_2.getBelongToContentId());//SimpleFieldAssign//sourceId:1850358_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue11(queryTargetBelongCycleDetailNewComRespDto_2.getOneLevelCategoryId());//SimpleFieldAssign//sourceId:1850359_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue12(queryTargetBelongCycleDetailNewComRespDto_2.getPersonLiableObjId());//SimpleFieldAssign//sourceId:1850360_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue13(queryTargetBelongCycleDetailNewComRespDto_2.getBizRoleObjId());//SimpleFieldAssign//sourceId:1850361_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue14(queryTargetBelongCycleDetailNewComRespDto_2.getBizRoleObjCode());//SimpleFieldAssign//sourceId:1850362_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue15(queryTargetBelongCycleDetailNewComRespDto_2.getBizRoleObjName());//SimpleFieldAssign//sourceId:1850363_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue25(queryTargetBelongCycleDetailNewComRespDto_2.getBelongToPersonalIdentityId());//SimpleFieldAssign//sourceId:1850373_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue28(queryTargetBelongCycleDetailNewComRespDto_2.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1850376_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue29(queryTargetBelongCycleDetailNewComRespDto_2.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1850377_1_69631
                }
                if (implementSingleCardFundAccountPromotionRedisComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue17(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount()) : "");//SimpleFieldAssign//sourceId:1850365_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue18(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance()) : "");//SimpleFieldAssign//sourceId:1850366_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue19(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850367_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue20(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850368_1_69631
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue21(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount()) : "");//SimpleFieldAssign//sourceId:1850369_1_69631
                }
                if (analysisBudgetFundUsageRateComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_1.setCustomFieldValue22(analysisBudgetFundUsageRateComRespDto.getFundUsageRate() != null ? String.valueOf(analysisBudgetFundUsageRateComRespDto.getFundUsageRate()) : "");//SimpleFieldAssign//sourceId:1850370_1_69631
                }

                /*D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)[8439]   */
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getBusinessDataObject(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-业务数据对象不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getDataObjectBatchCode(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据对象批次标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue3(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue4(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期开始时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue5(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期结束时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue6(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期类型标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue31(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-父子中过程周期类型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue9(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue30(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-本目标归属周期的计算周期五模型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue2(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue10(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue12(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue13(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue14(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue15(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象名称不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue25(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue16(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属账户ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue17(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-总金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue18(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-账户余额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue19(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-可用金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue20(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-冻结金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue21(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-累计结算金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue1(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-是否预算账户不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue28(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_1.getCustomFieldValue29(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象内容表主键ID不能为空", false);
                addPersonPreFinStandardDataSnapshotComRespDto_1 = fwCompStandardDataClient.addPersonPreFinStandardDataSnapshotCom(addPersonPreFinStandardDataSnapshotComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        if ((queryPrepareTargetBelongCycleDataDetailComRespDto != null && queryPrepareTargetBelongCycleDataDetailComRespDto.getParentCycleCalcModelId() != null)) {
            //if(D4准备目标归属周期数据(同体取小)(跨).父周期计算模型ID 值不等于空 )  69629

            QueryTargetBelongCycleDetailNewComRespDto queryTargetBelongCycleDetailNewComRespDto_3 = null;
            if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                QueryTargetBelongCycleDetailNewComReqDto queryTargetBelongCycleDetailNewComReqDto_2 = new QueryTargetBelongCycleDetailNewComReqDto();
                if (queryPrepareTargetBelongCycleDataDetailComRespDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto_2.setTargetAttributionCycleId(queryPrepareTargetBelongCycleDataDetailComRespDto.getParentCycleCalcModelId());//SimpleFieldAssign//sourceId:1915040_1_71202
                }
                if (reqDto != null) {
                    queryTargetBelongCycleDetailNewComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1853014_1_71202
                }

                /*D4查询目标归属周期详情(跨)[9747]   */
                Assert.isNull(queryTargetBelongCycleDetailNewComReqDto_2.getEvaluationTemplateId(), "D7执行单张牌财务标准数据准备redis(公共)-D4查询目标归属周期详情(跨)-冗余评价模板ID不能为空", false);
                queryTargetBelongCycleDetailNewComRespDto_3 = fwCalcTargetCalcClient.queryTargetBelongCycleDetailNewCom(queryTargetBelongCycleDetailNewComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            AddPersonPreFinStandardDataSnapshotComRespDto addPersonPreFinStandardDataSnapshotComRespDto_2 = null;
            if (queryTargetBelongCycleDetailNewComRespDto_3 != null && implementSingleCardFundAccountPromotionRedisComRespDto != null && analysisBudgetFundUsageRateComRespDto != null) {
                AddPersonPreFinStandardDataSnapshotComReqDto addPersonPreFinStandardDataSnapshotComReqDto_2 = new AddPersonPreFinStandardDataSnapshotComReqDto();
                addPersonPreFinStandardDataSnapshotComReqDto_2.setBusinessDataObject("ACCT_STD_DATA_AMT_SNAP");//sourceId:1850348_1_69632
                if (reqDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1850349_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue26(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1850374_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue16(reqDto.getAccountId());//SimpleFieldAssign//sourceId:1850364_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue1(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850350_1_69632
                }
                if (queryTargetBelongCycleDetailNewComRespDto_3 != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue23(queryTargetBelongCycleDetailNewComRespDto_3.getPreviousCycleId());//SimpleFieldAssign//sourceId:1850371_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue24(queryTargetBelongCycleDetailNewComRespDto_3.getLastEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1850372_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue3(queryTargetBelongCycleDetailNewComRespDto_3.getCycleId());//SimpleFieldAssign//sourceId:1850352_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue4(queryTargetBelongCycleDetailNewComRespDto_3.getCycleStartTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto_3.getCycleStartTime()) : "");//SimpleFieldAssign//sourceId:1850353_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue5(queryTargetBelongCycleDetailNewComRespDto_3.getCycleEndTime() != null ? String.valueOf(queryTargetBelongCycleDetailNewComRespDto_3.getCycleEndTime()) : "");//SimpleFieldAssign//sourceId:1850354_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue6(queryTargetBelongCycleDetailNewComRespDto_3.getCycleTypeCode());//SimpleFieldAssign//sourceId:1850355_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue7(queryTargetBelongCycleDetailNewComRespDto_3.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:1850356_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue31(queryTargetBelongCycleDetailNewComRespDto_3.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1850379_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue9(queryTargetBelongCycleDetailNewComRespDto_3.getEntityId());//SimpleFieldAssign//sourceId:1850357_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue30(queryTargetBelongCycleDetailNewComRespDto_3.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1850378_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue2(queryTargetBelongCycleDetailNewComRespDto_3.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1850351_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue10(queryTargetBelongCycleDetailNewComRespDto_3.getBelongToContentId());//SimpleFieldAssign//sourceId:1850358_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue11(queryTargetBelongCycleDetailNewComRespDto_3.getOneLevelCategoryId());//SimpleFieldAssign//sourceId:1850359_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue12(queryTargetBelongCycleDetailNewComRespDto_3.getPersonLiableObjId());//SimpleFieldAssign//sourceId:1850360_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue13(queryTargetBelongCycleDetailNewComRespDto_3.getBizRoleObjId());//SimpleFieldAssign//sourceId:1850361_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue14(queryTargetBelongCycleDetailNewComRespDto_3.getBizRoleObjCode());//SimpleFieldAssign//sourceId:1850362_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue15(queryTargetBelongCycleDetailNewComRespDto_3.getBizRoleObjName());//SimpleFieldAssign//sourceId:1850363_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue25(queryTargetBelongCycleDetailNewComRespDto_3.getBelongToPersonalIdentityId());//SimpleFieldAssign//sourceId:1850373_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue28(queryTargetBelongCycleDetailNewComRespDto_3.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1850376_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue29(queryTargetBelongCycleDetailNewComRespDto_3.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1850377_1_69632
                }
                if (implementSingleCardFundAccountPromotionRedisComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue17(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getTotalBudgetAmount()) : "");//SimpleFieldAssign//sourceId:1850365_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue18(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccountActualBalance()) : "");//SimpleFieldAssign//sourceId:1850366_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue19(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850367_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue20(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getUnSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1850368_1_69632
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue21(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount() != null ? String.valueOf(implementSingleCardFundAccountPromotionRedisComRespDto.getAccruedSettledAmount()) : "");//SimpleFieldAssign//sourceId:1850369_1_69632
                }
                if (analysisBudgetFundUsageRateComRespDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto_2.setCustomFieldValue22(analysisBudgetFundUsageRateComRespDto.getFundUsageRate() != null ? String.valueOf(analysisBudgetFundUsageRateComRespDto.getFundUsageRate()) : "");//SimpleFieldAssign//sourceId:1850370_1_69632
                }

                /*D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)[8439]   */
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getBusinessDataObject(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-业务数据对象不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getDataObjectBatchCode(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据对象批次标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue3(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue4(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期开始时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue5(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期结束时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue6(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期类型标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue31(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-父子中过程周期类型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue9(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue30(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-本目标归属周期的计算周期五模型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue2(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue10(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue12(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue13(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue14(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue15(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象名称不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue25(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue16(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属账户ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue17(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-总金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue18(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-账户余额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue19(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-可用金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue20(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-冻结金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue21(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-累计结算金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue1(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-是否预算账户不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue28(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto_2.getCustomFieldValue29(), "D7执行单张牌财务标准数据准备redis(公共)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象内容表主键ID不能为空", false);
                addPersonPreFinStandardDataSnapshotComRespDto_2 = fwCompStandardDataClient.addPersonPreFinStandardDataSnapshotCom(addPersonPreFinStandardDataSnapshotComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        ImplementSingleFinaceStandardDataRedisComRespDto retData = new ImplementSingleFinaceStandardDataRedisComRespDto();


        return retData;
    }

    /**
     * D7执行当前内容及祖先财务和标准数据(公共)[9739]
     * gen by moon at 3/8/2025, 12:11:05 AM
     */
    @Trace(operationName = "D7执行当前内容及祖先财务和标准数据(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementCurAndAncestorFinaceAndStandardComRespDto implementCurAndAncestorFinaceAndStandardCom(ImplementCurAndAncestorFinaceAndStandardComReqDto reqDto) {


        //virtualUsage D4查询数据计算业务配置（内存）  69813
        QueryDataCalcBusinessConfSetDetailComRespDto queryDataCalcBusinessConfSetDetailComRespDto = null;
        QueryDataCalcBusinessConfSetDetailComReqDto queryDataCalcBusinessConfSetDetailComReqDto = new QueryDataCalcBusinessConfSetDetailComReqDto();
        if (reqDto != null) {
            queryDataCalcBusinessConfSetDetailComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1857877_1_69813
        }

        /*D4查询数据计算业务配置（内存）[9767]   */
        Assert.isNull(queryDataCalcBusinessConfSetDetailComReqDto.getDataObjectBatchCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4查询数据计算业务配置（内存）-数据对象批次标识不能为空", false);
        queryDataCalcBusinessConfSetDetailComRespDto = fwCalcTargetCalcClient.queryDataCalcBusinessConfSetDetailCom(queryDataCalcBusinessConfSetDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((reqDto != null && reqDto.getTureOrFalse() != null && reqDto.getTureOrFalse().equals("TRUE")) && (queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53().equals("PLAN_FINACE_UPDATE") || queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53().equals("PLAN_TARGET_AND_FINACE_CALC"))) {
            //if(D7执行当前内容及祖先财务和标准数据(公共).财务是否计算 等于 是 and (D4查询数据计算业务配置（内存）.审核的计算场景 等于 规划财务更新 or D4查询数据计算业务配置（内存）.审核的计算场景 等于 规划目标与财务计算))  69607

            ImplementUpdateCurAcctPushRedisComRespDto implementUpdateCurAcctPushRedisComRespDto = null;
            if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                ImplementUpdateCurAcctPushRedisComReqDto implementUpdateCurAcctPushRedisComReqDto = new ImplementUpdateCurAcctPushRedisComReqDto();
                if (reqDto != null) {
                    implementUpdateCurAcctPushRedisComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1849672_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setBudgetAccountId(reqDto.getBudgetAccountId());//SimpleFieldAssign//sourceId:1849676_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setPhysicalAccountId(reqDto.getPhysicalAccountId());//SimpleFieldAssign//sourceId:1849677_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setBillAmount(reqDto.getBillAmount());//SimpleFieldAssign//sourceId:1849671_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setIsIncomingAccount(reqDto.getIsIncomingAccount());//SimpleFieldAssign//sourceId:1849674_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setBillBizStory(reqDto.getBillBizStory());//SimpleFieldAssign//sourceId:1849668_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setFundUsageSubjectld(reqDto.getFundUsageSubjectld());//SimpleFieldAssign//sourceId:1849678_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setBudgetExpenseSubjectld(reqDto.getBudgetExpenseSubjectld());//SimpleFieldAssign//sourceId:1849679_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setBudgetExpensesReceivedSubjectld(reqDto.getBudgetExpensesReceivedSubjectld());//SimpleFieldAssign//sourceId:1849680_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setRelSubBudgetAccountCode(reqDto.getRelSubBudgetAccountCode());//SimpleFieldAssign//sourceId:1849675_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setOppositeLogo(reqDto.getOppositeLogo());//SimpleFieldAssign//sourceId:1849669_1_69608
                    implementUpdateCurAcctPushRedisComReqDto.setOppositeName(reqDto.getOppositeName());//SimpleFieldAssign//sourceId:1849670_1_69608
                }
                if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                    implementUpdateCurAcctPushRedisComReqDto.setIsOpenFundsArrival(queryDataCalcBusinessConfSetDetailComRespDto.getCustomField4());//SimpleFieldAssign//sourceId:1849673_1_69608
                }

                /*D7-执行更新当前账户（公共）[8488]   */
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getDataObjectBatchCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-数据对象批次标识不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getPhysicalAccountId(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-实体账户ID不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getBillAmount(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-账单金额不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getIsOpenFundsArrival(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-是否开启资金到账不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getBillBizStory(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-流水业务故事信息不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getFundUsageSubjectld(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-资金使用科目ID不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getBudgetExpenseSubjectld(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-预算费用支出科目ID不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getBudgetExpensesReceivedSubjectld(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-预算费用到账科目ID不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getOppositeLogo(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-对方logo不能为空", false);
                Assert.isNull(implementUpdateCurAcctPushRedisComReqDto.getOppositeName(), "D7执行当前内容及祖先财务和标准数据(公共)-D7-执行更新当前账户（公共）-对方名称不能为空", false);
                implementUpdateCurAcctPushRedisComRespDto = financeService.implementUpdateCurAcctPushRedisCom(implementUpdateCurAcctPushRedisComReqDto)/*vcase invoke isSameApp*/;


            }
            if ((queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField52() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField52().equals("APPROVE_CALC") || queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField52() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField52().equals("CALC")) && (queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField55() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField55().equals("OPEN_CALC") && reqDto != null && reqDto.getIsOpenMq() != null && reqDto.getIsOpenMq().equals("FALSE"))) {
                //if((D4查询数据计算业务配置（内存）.计算与刷新财务数据类型 等于 审核并计算 or D4查询数据计算业务配置（内存）.计算与刷新财务数据类型 等于 只计算) and (D4查询数据计算业务配置（内存）.审核是否开启数据计算 等于 开启计算 and D7执行当前内容及祖先财务和标准数据(公共).是否开启MQ消息队列 等于 否))  69885

                RefreshCurAndAncestorFinaceAccountAndPushRedisComRespDto refreshCurAndAncestorFinaceAccountAndPushRedisComRespDto = null;
                if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                    RefreshCurAndAncestorFinaceAccountAndPushRedisComReqDto refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto = new RefreshCurAndAncestorFinaceAccountAndPushRedisComReqDto();
                    refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1849650_1_69886
                    if (reqDto != null) {
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setPreUpdateCycleId(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1849646_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setUpdateCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1851436_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setUpdateCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:1851437_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setUpdateCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:1851438_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setUpdateCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1851439_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1915029_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setAccountContentCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1849648_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setPeriodicModeTypeCode(reqDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:1915024_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1849651_1_69886
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1849645_1_69886
                    }
                    if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                        refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.setIsOpenFundsArrival(queryDataCalcBusinessConfSetDetailComRespDto.getCustomField4());//SimpleFieldAssign//sourceId:1849649_1_69886
                    }

                    /*D7更新当前内容及祖先财务账户并推Redis(公共)[9735]   */
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getUpdateCycleId(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-更新周期ID不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getUpdateCycleStartTime(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-更新周期开始时间不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getUpdateCycleEndTime(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-更新周期结束时间不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getUpdateCycleTypeCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-更新周期类型标识不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getEvaObjTargetCycleId(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-被评对象目标周期ID不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getAccountContentCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-关联归属主体标识不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getIsOpenFundsArrival(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-是否开启资金到账不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getPeriodicModeTypeCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-周期模式类型编码不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getEvaluationTemplateId(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-评价模板ID不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getSpaceId(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-创建于空间ID不能为空", false);
                    Assert.isNull(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto.getDataObjectBatchCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D7更新当前内容及祖先财务账户并推Redis(公共)-数据对象批次标识不能为空", false);
                    refreshCurAndAncestorFinaceAccountAndPushRedisComRespDto = refreshCurAndAncestorFinaceAccountAndPushRedisCom(refreshCurAndAncestorFinaceAccountAndPushRedisComReqDto)/*vcase invoke 同服务,同domain*/;


                }
            }
        }
        if ((queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53().equals("PLAN_TARGET_CALC") || queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53().equals("PLAN_FINACE_UPDATE") || queryDataCalcBusinessConfSetDetailComRespDto != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53() != null && queryDataCalcBusinessConfSetDetailComRespDto.getCustomField53().equals("PLAN_TARGET_AND_FINACE_CALC"))) {
            //if((D4查询数据计算业务配置（内存）.审核的计算场景 等于 规划目标计算 or D4查询数据计算业务配置（内存）.审核的计算场景 等于 规划财务更新 or D4查询数据计算业务配置（内存）.审核的计算场景 等于 规划目标与财务计算))  69780

            RefreshCurAndAncestorReportRelateStandardDataComRespDto refreshCurAndAncestorReportRelateStandardDataComRespDto = null;
            if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                RefreshCurAndAncestorReportRelateStandardDataComReqDto refreshCurAndAncestorReportRelateStandardDataComReqDto = new RefreshCurAndAncestorReportRelateStandardDataComReqDto();
                if (reqDto != null) {
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setIsOpenMq(reqDto.getIsOpenMq());//SimpleFieldAssign//sourceId:2041296_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setEventBatchUpdateCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1849768_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setCalcStartTime(reqDto.getCalcStartTime());//SimpleFieldAssign//sourceId:1849778_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1849770_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setPreUpdateCycleId(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1849771_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setUpdateCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1849772_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setUpdateCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:1849773_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setUpdateCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:1849774_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setUpdateCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1849775_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setIsLastCycle(reqDto.getIsLastCycle());//SimpleFieldAssign//sourceId:1850951_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setBelongToContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:2025610_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2005708_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setEvaObjTargetCycleCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1849780_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setParentEvaObjTargetCycleId(reqDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2024146_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1849781_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setAccountContentCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:2041940_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setCycleMode(reqDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:2041939_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1849769_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setPhysicalAccountId(reqDto.getPhysicalAccountId());//SimpleFieldAssign//sourceId:1849785_1_69781
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setOperationInductionId(reqDto.getOperationInductionId());//SimpleFieldAssign//sourceId:1849783_1_69781
                }
                if (queryDataCalcBusinessConfSetDetailComRespDto != null) {
                    refreshCurAndAncestorReportRelateStandardDataComReqDto.setIsOpenFundsArrival(queryDataCalcBusinessConfSetDetailComRespDto.getCustomField4());//SimpleFieldAssign//sourceId:2041941_1_69781
                }

                /*D4更新当前及祖先汇报相关标准数据(公共)[9731]   */
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getIsOpenMq(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-是否开启MQ消息队列不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getEventBatchUpdateCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-事务内数据更新批次标识不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getCalcStartTime(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-计算开始时间不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getUpdateCycleId(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-更新周期ID不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getUpdateCycleStartTime(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-更新周期开始时间不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getUpdateCycleEndTime(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-更新周期结束时间不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getUpdateCycleTypeCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-更新周期类型标识不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getIsLastCycle(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-更新周期是否末级周期不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getBelongToContentId(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-数据归属内容表主键ID不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getEvaObjTargetCycleId(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-被评对象目标周期ID不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getEvaObjTargetCycleCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-被评对象目标周期标识不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getParentSubMidCycleType(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-父子中过程周期类型不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getAccountContentCode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-关联归属主体标识不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getCycleMode(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-周期模式不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getIsOpenFundsArrival(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-是否开启资金到账不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getEvaluationTemplateId(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-冗余评价模板ID不能为空", false);
                Assert.isNull(refreshCurAndAncestorReportRelateStandardDataComReqDto.getOperationInductionId(), "D7执行当前内容及祖先财务和标准数据(公共)-D4更新当前及祖先汇报相关标准数据(公共)-操作人就职记录ID不能为空", false);
                refreshCurAndAncestorReportRelateStandardDataComRespDto = fwCalcTargetCalcClient.refreshCurAndAncestorReportRelateStandardDataCom(refreshCurAndAncestorReportRelateStandardDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        ImplementCurAndAncestorFinaceAndStandardComRespDto retData = new ImplementCurAndAncestorFinaceAndStandardComRespDto();


        return retData;
    }

    /**
     * D7新增业务配置方案数据(内存)[9785]
     * gen by moon at 10/30/2024, 4:35:49 PM
     */
    @Trace(operationName = "D7新增业务配置方案数据(内存)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddBusinessConfigSevenDataComRespDto addBusinessConfigSevenDataCom(AddBusinessConfigSevenDataComReqDto reqDto) {


        //步骤0: D7新增内存业务数据(业务原子) - addMemoryBusinessSevDataCom
        AddMemoryBusinessSevDataComRespDto addMemoryBusinessSevDataComRespDto = null;
        AddMemoryBusinessSevDataComReqDto addMemoryBusinessSevDataComReqDto = new AddMemoryBusinessSevDataComReqDto();
        addMemoryBusinessSevDataComReqDto.setCustomField1("isOpenBudget");//CUSTOM_CONVENTION//sourceId:1861178_1
        addMemoryBusinessSevDataComReqDto.setCustomField2("isOpenBudgetReport");//CUSTOM_CONVENTION//sourceId:1861180_1
        addMemoryBusinessSevDataComReqDto.setCustomField3("useAccountSubjectType");//CUSTOM_CONVENTION//sourceId:1861182_1
        addMemoryBusinessSevDataComReqDto.setCustomField4("isOpenFundsArrival");//CUSTOM_CONVENTION//sourceId:1861184_1
        addMemoryBusinessSevDataComReqDto.setCustomField5("isAllowBudgetOverruns");//CUSTOM_CONVENTION//sourceId:1861186_1
        addMemoryBusinessSevDataComReqDto.setCustomField6("cashAccountUnit");//CUSTOM_CONVENTION//sourceId:1861188_1
        addMemoryBusinessSevDataComReqDto.setCustomField7("isOpenFinance");//CUSTOM_CONVENTION//sourceId:1861190_1
        addMemoryBusinessSevDataComReqDto.setCustomField8("schemeDataPara");//CUSTOM_CONVENTION//sourceId:1861192_1
        addMemoryBusinessSevDataComReqDto.setCustomField9("isOkrPlanScene");//CUSTOM_CONVENTION//sourceId:1861194_1
        addMemoryBusinessSevDataComReqDto.setCustomField10("reportType");//CUSTOM_CONVENTION//sourceId:1861196_1
        addMemoryBusinessSevDataComReqDto.setCustomField11("cycleMode");//CUSTOM_CONVENTION//sourceId:1861198_1
        addMemoryBusinessSevDataComReqDto.setCustomField12("fatherCycleType");//CUSTOM_CONVENTION//sourceId:1861200_1
        addMemoryBusinessSevDataComReqDto.setCustomField13("subcycleType");//CUSTOM_CONVENTION//sourceId:1861202_1
        addMemoryBusinessSevDataComReqDto.setCustomField14("midCycleType");//CUSTOM_CONVENTION//sourceId:1861204_1
        addMemoryBusinessSevDataComReqDto.setCustomField15("openMidCycle");//CUSTOM_CONVENTION//sourceId:1861206_1
        addMemoryBusinessSevDataComReqDto.setCustomField16("lastCycleType");//CUSTOM_CONVENTION//sourceId:1861208_1
        addMemoryBusinessSevDataComReqDto.setCustomField17("secondLastCycleType");//CUSTOM_CONVENTION//sourceId:1861210_1
        addMemoryBusinessSevDataComReqDto.setCustomField18("isOpenMidProcess");//CUSTOM_CONVENTION//sourceId:1861212_1
        addMemoryBusinessSevDataComReqDto.setCustomField19("processMidCycleType");//CUSTOM_CONVENTION//sourceId:1861214_1
        addMemoryBusinessSevDataComReqDto.setCustomField20("isOpenSubReportLimit");//CUSTOM_CONVENTION//sourceId:1861216_1
        addMemoryBusinessSevDataComReqDto.setCustomField21("constTaskIsOpenReport");//CUSTOM_CONVENTION//sourceId:1861218_1
        addMemoryBusinessSevDataComReqDto.setCustomField22("constIsOpenAtuoReport");//CUSTOM_CONVENTION//sourceId:1861220_1
        addMemoryBusinessSevDataComReqDto.setCustomField23("noPracticalValueObjIsProgReport");//CUSTOM_CONVENTION//sourceId:1861222_1
        addMemoryBusinessSevDataComReqDto.setCustomField24("actualScoreIsOpenLocalLevelScore");//CUSTOM_CONVENTION//sourceId:1861224_1
        addMemoryBusinessSevDataComReqDto.setCustomField25("objectiveActualScoreIsOpenLocalLevelScore");//CUSTOM_CONVENTION//sourceId:1861226_1
        addMemoryBusinessSevDataComReqDto.setCustomField26("actualScoreFormula");//CUSTOM_CONVENTION//sourceId:1861228_1
        addMemoryBusinessSevDataComReqDto.setCustomField27("subjectiveRatingTotalValue");//CUSTOM_CONVENTION//sourceId:1861230_1
        addMemoryBusinessSevDataComReqDto.setCustomField28("subjectiveFullMarkUnit");//CUSTOM_CONVENTION//sourceId:1861232_1
        addMemoryBusinessSevDataComReqDto.setCustomField29("scoreDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861234_1
        addMemoryBusinessSevDataComReqDto.setCustomField30("degreeDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861236_1
        addMemoryBusinessSevDataComReqDto.setCustomField31("progressDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861238_1
        addMemoryBusinessSevDataComReqDto.setCustomField32("subjectiveScorePoint");//CUSTOM_CONVENTION//sourceId:1861240_1
        addMemoryBusinessSevDataComReqDto.setCustomField33("weightPoint");//CUSTOM_CONVENTION//sourceId:1861242_1
        addMemoryBusinessSevDataComReqDto.setCustomField34("weightDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861244_1
        addMemoryBusinessSevDataComReqDto.setCustomField35("increasesDropDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861246_1
        addMemoryBusinessSevDataComReqDto.setCustomField36("actualValueDecimalPoint");//CUSTOM_CONVENTION//sourceId:1861248_1
        addMemoryBusinessSevDataComReqDto.setCustomField37("decimalDigitsLastRules");//CUSTOM_CONVENTION//sourceId:1861250_1
        addMemoryBusinessSevDataComReqDto.setCustomField41("subjectiveScoreWeight");//CUSTOM_CONVENTION//sourceId:1861258_1
        addMemoryBusinessSevDataComReqDto.setCustomField42("objectiveScoreWeight");//CUSTOM_CONVENTION//sourceId:1861260_1
        addMemoryBusinessSevDataComReqDto.setCustomField43("processReportScoreMidWeight");//CUSTOM_CONVENTION//sourceId:1861262_1
        addMemoryBusinessSevDataComReqDto.setCustomField44("processReportScoreProMidWeight");//CUSTOM_CONVENTION//sourceId:1861264_1
        addMemoryBusinessSevDataComReqDto.setCustomField45("processReportScoreAvgWeight");//CUSTOM_CONVENTION//sourceId:1861266_1
        addMemoryBusinessSevDataComReqDto.setCustomField46("reportScoreSubAndObjWeight");//CUSTOM_CONVENTION//sourceId:1861268_1
        addMemoryBusinessSevDataComReqDto.setCustomField47("actualScoreLocalLevelWeight");//CUSTOM_CONVENTION//sourceId:1861270_1
        addMemoryBusinessSevDataComReqDto.setCustomField48("actualScoreLowerLevelWeight");//CUSTOM_CONVENTION//sourceId:1861272_1
        addMemoryBusinessSevDataComReqDto.setCustomField51("isOpenSymbolicAchievements");//CUSTOM_CONVENTION//sourceId:1861278_1
        addMemoryBusinessSevDataComReqDto.setCustomField54("targetScoreUnit");//CUSTOM_CONVENTION//sourceId:1861284_1
        addMemoryBusinessSevDataComReqDto.setCustomField57("dataCalcNormalAbnormal");//CUSTOM_CONVENTION//sourceId:2025619_1
        if (reqDto != null) {
            addMemoryBusinessSevDataComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1861175_1
            addMemoryBusinessSevDataComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1861176_1
            addMemoryBusinessSevDataComReqDto.setIsDataList(reqDto.getIsDataList());//SimpleFieldAssign//sourceId:1861177_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1861179_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1861181_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1861183_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1861185_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1861187_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1861189_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1861191_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1861193_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1861195_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1861197_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1861199_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1861201_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1861203_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1861205_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1861207_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1861209_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1861211_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1861213_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1861215_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1861217_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1861219_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue22(reqDto.getCustomFieldValue22());//SimpleFieldAssign//sourceId:1861221_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue23(reqDto.getCustomFieldValue23());//SimpleFieldAssign//sourceId:1861223_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue24(reqDto.getCustomFieldValue24());//SimpleFieldAssign//sourceId:1861225_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue25(reqDto.getCustomFieldValue25());//SimpleFieldAssign//sourceId:1861227_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue26(reqDto.getCustomFieldValue26());//SimpleFieldAssign//sourceId:1861229_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue27(reqDto.getCustomFieldValue27());//SimpleFieldAssign//sourceId:1861231_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue28(reqDto.getCustomFieldValue28());//SimpleFieldAssign//sourceId:1861233_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue29(reqDto.getCustomFieldValue29());//SimpleFieldAssign//sourceId:1861235_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue30(reqDto.getCustomFieldValue30());//SimpleFieldAssign//sourceId:1861237_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue31(reqDto.getCustomFieldValue31());//SimpleFieldAssign//sourceId:1861239_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue32(reqDto.getCustomFieldValue32());//SimpleFieldAssign//sourceId:1861241_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue33(reqDto.getCustomFieldValue33());//SimpleFieldAssign//sourceId:1861243_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue34(reqDto.getCustomFieldValue34());//SimpleFieldAssign//sourceId:1861245_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue35(reqDto.getCustomFieldValue35());//SimpleFieldAssign//sourceId:1861247_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue36(reqDto.getCustomFieldValue36());//SimpleFieldAssign//sourceId:1861249_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue37(reqDto.getCustomFieldValue37());//SimpleFieldAssign//sourceId:1861251_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue41(reqDto.getCustomFieldValue41());//SimpleFieldAssign//sourceId:1861259_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue42(reqDto.getCustomFieldValue42());//SimpleFieldAssign//sourceId:1861261_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue43(reqDto.getCustomFieldValue43());//SimpleFieldAssign//sourceId:1861263_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue44(reqDto.getCustomFieldValue44());//SimpleFieldAssign//sourceId:1861265_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue45(reqDto.getCustomFieldValue45());//SimpleFieldAssign//sourceId:1861267_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue46(reqDto.getCustomFieldValue46());//SimpleFieldAssign//sourceId:1861269_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue47(reqDto.getCustomFieldValue47());//SimpleFieldAssign//sourceId:1861271_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue48(reqDto.getCustomFieldValue48());//SimpleFieldAssign//sourceId:1861273_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue51(reqDto.getCustomFieldValue51());//SimpleFieldAssign//sourceId:1861279_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue54(reqDto.getCustomFieldValue54());//SimpleFieldAssign//sourceId:1861285_1
            addMemoryBusinessSevDataComReqDto.setCustomFieldValue57(reqDto.getCustomFieldValue57());//SimpleFieldAssign//sourceId:2025620_1
        }

        /*D7新增内存业务数据(业务原子)[9784]   */
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getDataObjectBatchCode(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-数据对象批次标识不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getBusinessDataObject(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-业务数据对象不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getIsDataList(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-是否是数据集对象不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField1(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段1不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField2(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段2不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField3(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段3不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField4(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段4不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField5(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段5不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField6(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段6不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField7(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段7不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField8(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段8不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField9(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段9不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField10(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段10不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField11(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段11不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField12(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段12不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField13(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段13不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField14(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段14不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField15(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段15不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField16(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段16不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField17(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段17不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField18(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段18不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField19(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段19不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField20(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段20不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField21(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段21不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField22(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段22不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField23(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段23不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField24(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段24不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField25(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段25不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField26(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段26不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField27(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段27不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField28(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段28不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField29(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段29不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField30(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段30不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField31(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段31不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField32(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段32不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField33(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段33不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField34(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段34不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField35(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段35不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField36(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段36不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField37(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段37不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField41(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段41不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField42(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段42不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField43(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段43不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField44(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段44不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField45(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段45不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField46(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段46不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField47(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段47不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField48(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段48不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField51(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段51不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField54(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段54不能为空", false);
        Assert.isNull(addMemoryBusinessSevDataComReqDto.getCustomField57(), "D7新增业务配置方案数据(内存)-D7新增内存业务数据(业务原子)-自定义字段57不能为空", false);
        addMemoryBusinessSevDataComRespDto = businessAtomService.addMemoryBusinessSevDataCom(addMemoryBusinessSevDataComReqDto)/*vcase invoke isSameApp*/;


        AddBusinessConfigSevenDataComRespDto retData = new AddBusinessConfigSevenDataComRespDto();


        return retData;
    }

    /**
     * D7更新当前内容及祖先财务账户并推Redis(公共)[9735]
     * gen by moon at 7/3/2024, 6:43:49 AM
     */
    @Trace(operationName = "D7更新当前内容及祖先财务账户并推Redis(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public RefreshCurAndAncestorFinaceAccountAndPushRedisComRespDto refreshCurAndAncestorFinaceAccountAndPushRedisCom(RefreshCurAndAncestorFinaceAccountAndPushRedisComReqDto reqDto) {


        //virtualUsage D7查询当前及祖先财务账户列表(公共)  69591
        QueryCurAndAncestorFinaceListComRespDto queryCurAndAncestorFinaceListComRespDto = null;
        QueryCurAndAncestorFinaceListComReqDto queryCurAndAncestorFinaceListComReqDto = new QueryCurAndAncestorFinaceListComReqDto();
        if (reqDto != null) {
            queryCurAndAncestorFinaceListComReqDto.setAccountContentCode(reqDto.getAccountContentCode());//SimpleFieldAssign//sourceId:1848987_1_69591
            queryCurAndAncestorFinaceListComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1915706_1_69591
            queryCurAndAncestorFinaceListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1848988_1_69591
        }

        /*D7查询当前及祖先财务账户列表(公共)[9736]   */
        Assert.isNull(queryCurAndAncestorFinaceListComReqDto.getAccountContentCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7查询当前及祖先财务账户列表(公共)-关联归属主体标识不能为空", false);
        Assert.isNull(queryCurAndAncestorFinaceListComReqDto.getThemeContentId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7查询当前及祖先财务账户列表(公共)-主题内容ID不能为空", false);
        Assert.isNull(queryCurAndAncestorFinaceListComReqDto.getSpaceId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7查询当前及祖先财务账户列表(公共)-创建于空间ID不能为空", false);
        queryCurAndAncestorFinaceListComRespDto = queryCurAndAncestorFinaceListCom(queryCurAndAncestorFinaceListComReqDto)/*vcase invoke 同服务,同domain*/;


        if ((queryCurAndAncestorFinaceListComRespDto != null && queryCurAndAncestorFinaceListComRespDto.getFinanceAccountList() != null && queryCurAndAncestorFinaceListComRespDto.getFinanceAccountList().size() > 0)) {
            //if(D7查询当前及祖先财务账户列表(公共).资金账户列表数据集条数 大于 0)  69592

            QueryEvaObjTargetCycleOverDetailComRespDto queryEvaObjTargetCycleOverDetailComRespDto = null;
            QueryEvaObjTargetCycleOverDetailComReqDto queryEvaObjTargetCycleOverDetailComReqDto = new QueryEvaObjTargetCycleOverDetailComReqDto();
            queryEvaObjTargetCycleOverDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1915670_1_71214
            if (reqDto != null) {
                queryEvaObjTargetCycleOverDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1915686_1_71214
                queryEvaObjTargetCycleOverDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1915671_1_71214
                queryEvaObjTargetCycleOverDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1915672_1_71214
            }

            /*D4查询被评对象目标周期详情(跨)[9915]   */
            Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto.getSubjectLifeCycle(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-主体生命周期不能为空", false);
            Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto.getEvaluationTemplateId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-冗余评价模板ID不能为空", false);
            Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto.getSpaceId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-创建于空间ID不能为空", false);
            queryEvaObjTargetCycleOverDetailComRespDto = fwCalcEvaCalcClient.queryEvaObjTargetCycleOverDetailCom(queryEvaObjTargetCycleOverDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//ModelCode: circulationCollections
            for (FinanceAccountDto circulationCollectionsRes : queryCurAndAncestorFinaceListComRespDto.getFinanceAccountList()) {

                ImplementConcBhvThemeLockComComRespDto implementConcBhvThemeLockComComRespDto = null;
                ImplementConcBhvThemeLockComComReqDto implementConcBhvThemeLockComComReqDto = new ImplementConcBhvThemeLockComComReqDto();
                implementConcBhvThemeLockComComReqDto.setRedisDataObjectCatalogue("业务数据锁");//sourceId:1850460_1_69646
                implementConcBhvThemeLockComComReqDto.setBehaviorThemeLockCode("UPDATE_FINANCIAL_DATA_BUSINESS_SWIPES");//sourceId:1850450_1_69646
                implementConcBhvThemeLockComComReqDto.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1850449_1_69646
                implementConcBhvThemeLockComComReqDto.setDuration(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1850455_1_69646
                implementConcBhvThemeLockComComReqDto.setTimeUnitType("HOUR");//sourceId:1850456_1_69646
                implementConcBhvThemeLockComComReqDto.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1850457_1_69646
                if (circulationCollectionsRes != null) {
                    implementConcBhvThemeLockComComReqDto.setCommPrimaryKey(circulationCollectionsRes.getAccountId());//SimpleFieldAssign//sourceId:1850451_1_69646
                }

                /*D2执行并发财务业务数据加锁[8388]   */
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getRedisDataObjectCatalogue(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-Redis数据对象目录不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getBehaviorThemeLockCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-行为主题锁业务数据对象不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getCommPrimaryKey(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-通用主键ID不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getPreventConcurrentLockingUnlocking(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getDuration(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-锁定时长不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getTimeUnitType(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-时间单位类型不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto.getHandlingMethodConcurrentLockFailure(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据加锁-并发上锁失败处理方式不能为空", false);
                implementConcBhvThemeLockComComRespDto = interfaceModeService.implementConcBhvThemeLockComCom(implementConcBhvThemeLockComComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                QueryEvaObjTargetCycleOverDetailComRespDto queryEvaObjTargetCycleOverDetailComRespDto_2 = null;
                if (queryEvaObjTargetCycleOverDetailComRespDto != null) {
                    QueryEvaObjTargetCycleOverDetailComReqDto queryEvaObjTargetCycleOverDetailComReqDto_1 = new QueryEvaObjTargetCycleOverDetailComReqDto();
                    queryEvaObjTargetCycleOverDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1915670_1_71206
                    if (queryEvaObjTargetCycleOverDetailComRespDto != null) {
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setEvaObjEntityId(queryEvaObjTargetCycleOverDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1915689_1_71206
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setEvaObjTypeCode(queryEvaObjTargetCycleOverDetailComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1915688_1_71206
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setCycleId(queryEvaObjTargetCycleOverDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1915669_1_71206
                    }
                    if (circulationCollectionsRes != null) {
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setTargetCycleContentId(circulationCollectionsRes.getAccountObjectId());//SimpleFieldAssign//sourceId:1915668_1_71206
                    }
                    if (reqDto != null) {
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1915671_1_71206
                        queryEvaObjTargetCycleOverDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1915672_1_71206
                    }

                    /*D4查询被评对象目标周期详情(跨)[9915]   */
                    Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto_1.getSubjectLifeCycle(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-主体生命周期不能为空", false);
                    Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto_1.getEvaluationTemplateId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-冗余评价模板ID不能为空", false);
                    Assert.isNull(queryEvaObjTargetCycleOverDetailComReqDto_1.getSpaceId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D4查询被评对象目标周期详情(跨)-创建于空间ID不能为空", false);
                    queryEvaObjTargetCycleOverDetailComRespDto_2 = fwCalcEvaCalcClient.queryEvaObjTargetCycleOverDetailCom(queryEvaObjTargetCycleOverDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                if ((implementConcBhvThemeLockComComRespDto != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations() != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D2执行并发财务业务数据加锁.防并发上锁情况 等于 空上锁成功)  69647

                    ImplementSingleFinaceStandardDataRedisComRespDto implementSingleFinaceStandardDataRedisComRespDto = null;
                    if (queryEvaObjTargetCycleOverDetailComRespDto_2 != null) {
                        ImplementSingleFinaceStandardDataRedisComReqDto implementSingleFinaceStandardDataRedisComReqDto = new ImplementSingleFinaceStandardDataRedisComReqDto();
                        if (reqDto != null) {
                            implementSingleFinaceStandardDataRedisComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1850437_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setPreUpdateCycleId(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1850438_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1850439_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setCycleTypeCode(reqDto.getUpdateCycleTypeCode());//SimpleFieldAssign//sourceId:1915034_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1850442_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1850441_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setIsOpenFundsArrival(reqDto.getIsOpenFundsArrival());//SimpleFieldAssign//sourceId:1851448_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setPeriodicModeTypeCode(reqDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:1915014_1_69649
                        }
                        if (queryEvaObjTargetCycleOverDetailComRespDto_2 != null) {
                            implementSingleFinaceStandardDataRedisComReqDto.setEvaObjTargetCycleId(queryEvaObjTargetCycleOverDetailComRespDto_2.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1915035_1_69649
                        }
                        if (circulationCollectionsRes != null) {
                            implementSingleFinaceStandardDataRedisComReqDto.setBelongToContentId(circulationCollectionsRes.getAccountObjectId());//SimpleFieldAssign//sourceId:1850440_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setAccountId(circulationCollectionsRes.getAccountId());//SimpleFieldAssign//sourceId:1850443_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setAccountContentCode(circulationCollectionsRes.getAccountContentCode());//SimpleFieldAssign//sourceId:1915013_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setTotalBudgetAmount(circulationCollectionsRes.getTotalBudgetAmount());//SimpleFieldAssign//sourceId:1850444_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setIsBudgetAccount(circulationCollectionsRes.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1850445_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setIsIncomingAccount(circulationCollectionsRes.getIsIncomingAccount());//SimpleFieldAssign//sourceId:1850446_1_69649
                            implementSingleFinaceStandardDataRedisComReqDto.setIsStatisticalAccount(circulationCollectionsRes.getIsStatisticalAccount());//SimpleFieldAssign//sourceId:1850447_1_69649
                        }

                        /*D7执行单张牌财务标准数据准备redis(公共)[9740]   */
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getDataObjectBatchCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-数据对象批次标识不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getCycleId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-周期ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getCycleTypeCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-周期类型标识不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getEvaObjTargetCycleId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-被评对象目标周期ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getBelongToContentId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-数据归属内容表主键ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getEvaluationTemplateId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-评价模板ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getSpaceId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-创建于空间ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getAccountId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-账户ID不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getAccountContentCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-关联归属主体标识不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getTotalBudgetAmount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-累计收入金额不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getIsBudgetAccount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-是否预算账户不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getIsStatisticalAccount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-是否统计账户不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getIsOpenFundsArrival(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-是否开启资金到账不能为空", false);
                        Assert.isNull(implementSingleFinaceStandardDataRedisComReqDto.getPeriodicModeTypeCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D7执行单张牌财务标准数据准备redis(公共)-周期模式类型编码不能为空", false);
                        implementSingleFinaceStandardDataRedisComRespDto = implementSingleFinaceStandardDataRedisCom(implementSingleFinaceStandardDataRedisComReqDto)/*vcase invoke 同服务,同domain*/;


                    }
                    ImplementConcBhvThemeLockComComRespDto implementConcBhvThemeLockComComRespDto_2 = null;
                    ImplementConcBhvThemeLockComComReqDto implementConcBhvThemeLockComComReqDto_1 = new ImplementConcBhvThemeLockComComReqDto();
                    implementConcBhvThemeLockComComReqDto_1.setRedisDataObjectCatalogue("业务数据锁");//sourceId:1850496_1_69656
                    implementConcBhvThemeLockComComReqDto_1.setBehaviorThemeLockCode("UPDATE_FINANCIAL_DATA_BUSINESS_SWIPES");//sourceId:1850486_1_69656
                    implementConcBhvThemeLockComComReqDto_1.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1850485_1_69656
                    implementConcBhvThemeLockComComReqDto_1.setWhetherUnlockBulk("FALSE");//sourceId:1850592_1_69656
                    if (circulationCollectionsRes != null) {
                        implementConcBhvThemeLockComComReqDto_1.setCommPrimaryKey(circulationCollectionsRes.getAccountId());//SimpleFieldAssign//sourceId:1850487_1_69656
                    }

                    /*D2执行并发财务业务数据解锁[8388]   */
                    Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getRedisDataObjectCatalogue(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据解锁-Redis数据对象目录不能为空", false);
                    Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getBehaviorThemeLockCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据解锁-行为主题锁业务数据对象不能为空", false);
                    Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getCommPrimaryKey(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据解锁-通用主键ID不能为空", false);
                    Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getPreventConcurrentLockingUnlocking(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据解锁-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getWhetherUnlockBulk(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行并发财务业务数据解锁-是否批量解锁不能为空", false);
                    implementConcBhvThemeLockComComRespDto_2 = interfaceModeService.implementConcBhvThemeLockComCom(implementConcBhvThemeLockComComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                } else if ((implementConcBhvThemeLockComComRespDto != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations() != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations().equals("CONCURRENT_LOCK_FAILURE"))) {
                    //elseif(D2执行并发财务业务数据加锁.防并发上锁情况 等于 并发上锁失败)  69648

                    ImplementFinancialPlannMqQueueComRespDto implementFinancialPlannMqQueueComRespDto = null;
                    ImplementFinancialPlannMqQueueComReqDto implementFinancialPlannMqQueueComReqDto = new ImplementFinancialPlannMqQueueComReqDto();
                    if (reqDto != null) {
                        implementFinancialPlannMqQueueComReqDto.setPreUpdateCycleId(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1851018_1_69669
                        implementFinancialPlannMqQueueComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1851424_1_69669
                        implementFinancialPlannMqQueueComReqDto.setUpdateCycleStartTime(reqDto.getUpdateCycleStartTime());//SimpleFieldAssign//sourceId:1851425_1_69669
                        implementFinancialPlannMqQueueComReqDto.setUpdateCycleEndTime(reqDto.getUpdateCycleEndTime());//SimpleFieldAssign//sourceId:1851426_1_69669
                        implementFinancialPlannMqQueueComReqDto.setUpdateCycleTypeCode(reqDto.getUpdateCycleTypeCode());//SimpleFieldAssign//sourceId:1851427_1_69669
                        implementFinancialPlannMqQueueComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1851021_1_69669
                        implementFinancialPlannMqQueueComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1851022_1_69669
                    }
                    if (circulationCollectionsRes != null) {
                        implementFinancialPlannMqQueueComReqDto.setBelongToContentId(circulationCollectionsRes.getAccountObjectId());//SimpleFieldAssign//sourceId:1851020_1_69669
                        implementFinancialPlannMqQueueComReqDto.setAccountId(circulationCollectionsRes.getAccountId());//SimpleFieldAssign//sourceId:1851023_1_69669
                        implementFinancialPlannMqQueueComReqDto.setTotalBudgetAmount(circulationCollectionsRes.getTotalBudgetAmount());//SimpleFieldAssign//sourceId:1851024_1_69669
                        implementFinancialPlannMqQueueComReqDto.setIsBudgetAccount(circulationCollectionsRes.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1851025_1_69669
                        implementFinancialPlannMqQueueComReqDto.setIsIncomingAccount(circulationCollectionsRes.getIsIncomingAccount());//SimpleFieldAssign//sourceId:1851026_1_69669
                        implementFinancialPlannMqQueueComReqDto.setIsStatisticalAccount(circulationCollectionsRes.getIsStatisticalAccount());//SimpleFieldAssign//sourceId:1851027_1_69669
                    }

                    /*D2执行规划财务MQ排队(redis)[9742]   */
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getUpdateCycleId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-更新周期ID不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getUpdateCycleStartTime(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-更新周期开始时间不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getUpdateCycleEndTime(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-更新周期结束时间不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getUpdateCycleTypeCode(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-更新周期类型标识不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getEntityId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-归属内容表主键ID不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getBelongToContentId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-数据归属内容表主键ID不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getEvaluationTemplateId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-冗余评价模板ID不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getAccountId(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-账户ID不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getTotalBudgetAmount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-累计收入金额不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getIsBudgetAccount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-是否预算账户不能为空", false);
                    Assert.isNull(implementFinancialPlannMqQueueComReqDto.getIsStatisticalAccount(), "D7更新当前内容及祖先财务账户并推Redis(公共)-D2执行规划财务MQ排队(redis)-是否统计账户不能为空", false);
                    implementFinancialPlannMqQueueComRespDto = fwCompEvaCalcClient.implementFinancialPlannMqQueueCom(implementFinancialPlannMqQueueComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
//ModelCode: circulationEnd
            }

        }
        RefreshCurAndAncestorFinaceAccountAndPushRedisComRespDto retData = new RefreshCurAndAncestorFinaceAccountAndPushRedisComRespDto();


        return retData;
    }
    //
}
